#ifndef CASH_PRODUCE_DIALOG_H
#define CASH_PRODUCE_DIALOG_H

#include <QDialog>
#include <string>

using namespace std;

namespace Ui {
class cash_produce_dialog;
}

class cash_produce_dialog : public QDialog
{
    Q_OBJECT

public:
    explicit cash_produce_dialog(QWidget *parent = 0);
    ~cash_produce_dialog();
    QString USER;
    void init();

private slots:
    void on_qrCodeBtn_2_clicked();

    void on_vipRBtn_clicked(bool checked);

    void on_settleBtn_clicked();

    void on_addProBtn_clicked();

    void addPro(QString,QString,QString);

    void on_delProBtn_clicked();

    void receiveData(QString data);

    void on_vipIdEdit_returnPressed();

    void on_editRealget_returnPressed();

    void on_addVIPBtn_clicked();

    void on_qrCodeBtn_clicked();

private:
    Ui::cash_produce_dialog *ui;
    bool vipSelected;
    int NUM = 1;
};

#endif // CASH_PRODUCE_DIALOG_H
